package com.micangcaihang.micang.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * <pre>
 *     author : Fandy
 *     e-mail : fandayongfly@gmail.com
 *     time   : 2017/08/02
 *     update : 2017/08/02
 *     desc   : 任务列表list
 *     version: 1.0
 * </pre>
 */

public class TaskListEntity implements MultiItemEntity, Serializable {
    public static final int TASK_NEW = 1;
    public static final int TASK_TO_BE_TREATED = 2;
    public static final int TASK_DATA_ERROR = 3;
    public static final int TASK_DATA_INCOMPLETE = 4;
    /**
     * customer_name : 毛利兰
     * loan_type : 1
     * loan_type_name : 一抵类型
     * saler_id : 167
     * saler_name : 张建宁
     * status : 302
     * status_name : 资料有误
     * director_time : 2017-07-09 17:01
     * apply_time : 2017-07-07 00:34
     * located_address : 加班改
     */
    private String business_id;
    private String customer_name;//借款人姓名
    private String loan_type; //抵押类型
    private String loan_type_name;//抵押类型名称
    private String saler_id;//业务经理ID
    private String saler_name;//业务经理
    private int status;//状态
    private String status_name;//状态名称
    private String director_time;//调评主管退回时间
    private String apply_time;//申请时间
    private String located_address;//抵押物地址
    private String reback_id; //退回时间
    private String reback_department; //退回部门

    public String getReback_department() {
        return reback_department == null ? "" : reback_department;
    }

    public void setReback_department(String reback_department) {
        this.reback_department = reback_department;
    }

    /**
     * business_id : 286
     * apply_time : 1500012388
     * reback_time : 1499776700
     */

    private String reback_time;

    public String getReback_id() {
        return reback_id == null ? "0" : reback_id;
    }

    public void setReback_id(String reback_id) {
        this.reback_id = reback_id;
    }

    public String getBusiness_id() {
        return business_id == null ? "" : business_id;
    }

    public void setBusiness_id(String business_id) {
        this.business_id = business_id;
    }

    public String getCustomer_name() {
        return customer_name == null ? "" : customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String getLoan_type() {
        return loan_type == null ? "" : loan_type;
    }

    public void setLoan_type(String loan_type) {
        this.loan_type = loan_type;
    }

    public String getLoan_type_name() {
        return loan_type_name == null ? "" : loan_type_name;
    }

    public void setLoan_type_name(String loan_type_name) {
        this.loan_type_name = loan_type_name;
    }

    public String getSaler_id() {
        return saler_id == null ? "" : saler_id;
    }

    public void setSaler_id(String saler_id) {
        this.saler_id = saler_id;
    }

    public String getSaler_name() {
        return saler_name == null ? "" : saler_name;
    }

    public void setSaler_name(String saler_name) {
        this.saler_name = saler_name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getStatus_name() {
        return status_name == null ? "" : status_name;
    }

    public void setStatus_name(String status_name) {
        this.status_name = status_name;
    }

    public String getDirector_time() {
        return director_time == null ? "" : director_time;
    }

    public void setDirector_time(String director_time) {
        this.director_time = director_time;
    }

    public String getApply_time() {
        return apply_time == null ? "" : apply_time;
    }

    public void setApply_time(String apply_time) {
        this.apply_time = apply_time;
    }

    public String getLocated_address() {
        return located_address == null ? "" : located_address;
    }

    public void setLocated_address(String located_address) {
        this.located_address = located_address;
    }

    @Override
    public int getItemType() {
        return status;
    }


    public String getReback_time() {
        return reback_time == null ? "" : reback_time;
    }

    public void setReback_time(String reback_time) {
        this.reback_time = reback_time;
    }
}
